<html xmlns:th="http://www.thymeleaf.org">

<head>

    <link th:href="@{https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css}" rel="stylesheet"/>

</head>

<body>
<h1>新建脚本</h1>
<p>项目名称：<span th:text="${projectName}"></span></p>

<form th:action="@{/project/{projectId}/script/input(projectId=${projectId})}" method="post">

    <table class="table table-borders">
        <tr>
            <td>script:</td>
            <td>
                <textarea name="script"></textarea>
            </td>
        </tr>

        <tr>
            <td>name:</td>
            <td>
                <input name="name">
            </td>
        </tr>

        <tr>
            <td>description:</td>
            <td>
                <input name="description">
            </td>
        </tr>
        </tr>

        <tr>
            <td colspan="2"><input type="submit"/></td>
        </tr>
    </table>
</form>

</body>
</html>
